from PyQt5 import QtCore
from PyQt5.QtCore import QEvent
from PyQt5.QtWebEngineWidgets import QWebEngineView


class MAPVIERWR(QWebEngineView):
    def __init__(self, parent=None):
        super(MAPVIERWR, self).__init__(parent)
        # 设置最小尺寸
        self.setMinimumSize(500, 500)
        self.setStyleSheet('border-style:solid;border-color:gray;border-width:2px;border-radius:10px')